package com.itheima.socket.tcp.demo03;

import java.io.IOException;
import java.net.ServerSocket;
import java.util.concurrent.TimeUnit;

public class ServerDemo01 {

    public static void main(String[] args) throws IOException, InterruptedException {

        // 创建一个ServerSocket对象
        ServerSocket serverSocket = new ServerSocket(9999) ;

        // 让当前这个线程休眠1分钟
        TimeUnit.SECONDS.sleep(60);

    }

}
